home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
dlg
/
cronshell11.readme
< prev
next >
Wrap
Text File
|
1994-10-08
|
3KB
|
64 lines
Short: DLG/TpTCron util to run commands under TpTCron environment.
Author: leon@mtu.edu
Uploader: leon@mtu.edu
Type: comm/dlg
CronShell is a DLG/TpTCron utility that allows you to run a program
as though it had been run in the TpTCron environment, without losing
the current directory and without running asynchronously (i.e. it
waits for the program to finish running under TpTCron before
returning control).
Version 1.1 now uses a write-lock instead of just a read-lock.
The change was required because a read-lock only waits 20 seconds
before returning, whereas a writelock waits as long as it takes.
It is a TOTAL hack! Though it should be a "well-behaved" hack.
WHY write such a silly program?
SIMPLE, to get around a bug in PDQ/DLGMail.
The environment that PDQ/DLGMail uses to execute commands is severely
broken. Which means that depending on what version of the OS you
are running, a lot of commands fail to run properly when invoked
under PDQ/DLGMail. In specific, the newer versions of UnZIP, which
are required for mail packets archived with PkZIP2.04g will not work
with PDQ/DLGMail (at least not on my system). To make matters worse,
PDQ/DLGMail doesn't even know that the command failed, so it happily
removes your incoming mail for you even though it wasn't successfully
processed. OUCH!
The fix is to change your ZIPEXTRACT configuration to something like:
ZIPEXTRACT Fido:CronShell PDQMail_ZIP C:UnZIP %s *.PKT
^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
/ \
just my attempt actual command to run.
at using a
descriptive
lockname.
The above line allows me to process incoming .ZIP packets unless
something goes wrong.
PLEASE SEE THE CronShell.doc file for various warnings!
Enjoy!
\Leon
______________________________________________________________________
| o__ ---- \\ABCD///Amiga BitSwap Central Dispatch - DLG BB/OS!
| _.>/ _------- \\BBS// 28K8bps USR V.FC/34 Fido/UUCP(906)482-8248
|(_) \(_)Leon Shaner\\\// <leon@abcd.houghton.mi.us> or <leon@mtu.edu>
|________[MTU - CTS] \\/ ...Non-Conformity is a virtue I hold dear...
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
9592 5811 39.4% 20-Sep-94 23:50:52 CronShell
3956 1969 50.2% 20-Sep-94 23:56:08 CronShell.doc
-------- ------- ----- --------- --------
13548 7780 42.5% 21-Sep-94 11:39:26 2 files